package com.newbingo.service;

import com.newbingo.dao.imple.IAgentLogDao;
import com.newbingo.dto.imple.IAgentLogDto;
import com.newbingo.entity.AgentLog;
import com.newbingo.service.imple.IAgentLogService;
import com.newbingo.util.Pager;


public class AgentLogService implements IAgentLogService {
	private IAgentLogDao agentLogDao;
	private IAgentLogDto agentLogDto;
	
	/* 
	 * 查询代理操作日志，进行分页
	 */
	public Pager findByPage(int start,int limit,Integer uno){
		return agentLogDto.findByPage(start, limit, uno);
	}
	
	/* 
	 * 保存代理操作日志
	 */
	public void save(AgentLog agentLog){
		agentLogDao.save(agentLog);
	}
	
	public IAgentLogDao getAgentLogDao() {
		return agentLogDao;
	}

	public void setAgentLogDao(IAgentLogDao agentLogDao) {
		this.agentLogDao = agentLogDao;
	}

	public IAgentLogDto getAgentLogDto() {
		return agentLogDto;
	}

	public void setAgentLogDto(IAgentLogDto agentLogDto) {
		this.agentLogDto = agentLogDto;
	}

}
